<?php 

$criteria=new CDbCriteria();
$criteria->condition = "t.active=1 AND t.hot=0";
$criteria->limit = 7;
$criteria->order='t.order DESC';

$dataProvider=new CActiveDataProvider('Home', array(
    'criteria'=>$criteria,
	'pagination'=>false,
));
$this->widget('zii.widgets.CListView', array(
    'dataProvider'=>$dataProvider,
    'itemView'=>'pages/_view',
	'summaryText'=>'',
));
?>
